Set Scrollbar Position

Command Prototype

WebBrowser.SetScroll(hWeb,dictScrollPostion,optionArgs)

Command Description

Set the position (in pixel) of the scrollbar in the current page

Parameter Description
Required Parameter
hWeb--Browser's handle string returned with WebBrowser.Create or WebBrowser.Bind functions
dictScrollPostion--The new position where scrollbars are moved to, the element ScrollLeft indicates the position of the horizontal scrollbar, and the element ScrollTop indicates the position of the vertical scrollbar
Optional Parameter
bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values ​​(True, False). The default is False
iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds

results matching ""

    No results matching ""